CVE-2026-4603
Jsrsasign RSA Public-Key Division by Zero Vulnerability
Description
Versions of the package jsrsasign before 11.1.1 are vulnerable to Division by zero due to the RSASetPublic/KEYUTIL parsing path in ext/rsa.js and the BigInteger.modPowInt reduction logic in ext/jsbn.js. An attacker can force RSA public-key operations (e.g., verify and encryption) to collapse to deterministic zero outputs and hide “invalid key” errors by supplying a JWK whose modulus decodes to zero.
INFO
Published Date :
March 23, 2026, 6:16 a.m.
Last Modified :
March 23, 2026, 4:08 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update the jsrsasign package to version 11.1.1 or later.
- Ensure JWK modulus values are not zero.
- Validate public key operations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-4603.
| URL | Resource |
|---|---|
| https://gist.github.com/Kr0emer/5366b7364c4fbf7e754bc377f321e9f3 | Exploit Mitigation Third Party Advisory |
| https://github.com/kjur/jsrsasign/commit/dc41d49fac4297e7a737a3ef8ebd0aa9c49ef93f | Patch |
| https://github.com/kjur/jsrsasign/pull/649 | Issue Tracking |
| https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15371176 | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-4603 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-4603
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-4603 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-4603 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 23, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L Added CPE Configuration OR *cpe:2.3:a:jsrsasign_project:jsrsasign:*:*:*:*:*:node.js:*:* versions up to (excluding) 11.1.1 Added Reference Type Snyk: https://gist.github.com/Kr0emer/5366b7364c4fbf7e754bc377f321e9f3 Types: Exploit, Mitigation, Third Party Advisory Added Reference Type Snyk: https://github.com/kjur/jsrsasign/commit/dc41d49fac4297e7a737a3ef8ebd0aa9c49ef93f Types: Patch Added Reference Type Snyk: https://github.com/kjur/jsrsasign/pull/649 Types: Issue Tracking Added Reference Type Snyk: https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15371176 Types: Third Party Advisory -
New CVE Received by [email protected]
Mar. 23, 2026
Action Type Old Value New Value Added Description Versions of the package jsrsasign before 11.1.1 are vulnerable to Division by zero due to the RSASetPublic/KEYUTIL parsing path in ext/rsa.js and the BigInteger.modPowInt reduction logic in ext/jsbn.js. An attacker can force RSA public-key operations (e.g., verify and encryption) to collapse to deterministic zero outputs and hide “invalid key” errors by supplying a JWK whose modulus decodes to zero. Added CVSS V4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L Added CWE CWE-369 Added Reference https://gist.github.com/Kr0emer/5366b7364c4fbf7e754bc377f321e9f3 Added Reference https://github.com/kjur/jsrsasign/commit/dc41d49fac4297e7a737a3ef8ebd0aa9c49ef93f Added Reference https://github.com/kjur/jsrsasign/pull/649 Added Reference https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15371176